/* 
 * 公共样式
 */

.scrollTop {
	width: 90rpx;
	height: 90rpx;
	background: rgba(255, 255, 255, 0.7);
	border: 2rpx solid #ebeae7;
	border-radius: 50%;
	position: fixed;
	right: -130rpx;
	top: 84vh;
	z-index: 999;
	opacity: 0;
	transition: 0.5s;
	@include flexBox(center, center);
	&.show {
		opacity: 1;
		right: 30rpx;
	}
	.iconfont {
		font-size: 36rpx;
	}
}

@mixin text_ellipsis($line: 2) {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: $line;
}

@mixin safe_area($direction, $mode: inset) {
	padding-#{$direction}: env(safe-area-#{$mode}-#{$direction});
}
